.tab-bar {
  display: flex;
  align-items: center;
  height: 40px;
  background-color: #f5f5f5;
  padding: 0 10px;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  
}
.tab-content {
  padding: 20px;
  margin-top: 40px; /* 与导航高度一致，避免内容被遮挡 */
}

.tab-item {
  padding: 5px 10px;
  cursor: pointer;
  margin-right: 10px;
  position: relative;
}

/* 鼠标悬停在顶部导航标签上的效果 */
.tab-item:hover {
  background-color: #e0e0e0;
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #007bff;
}

.icon-container {
  cursor: pointer;
}

.drawer {
  position: fixed;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 1000;
  transition: left 0.3s ease;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.drawer.visible {
  left: 0;
}

.drawer-content {
  padding: 20px;
}

.my-channels,
.optional-channels {
  margin-bottom: 20px;
}

.channel-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.channel-item {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  
}

/* 鼠标悬停在频道标签上的效果 */
.channel-item:hover {
  background-color: #f0f0f0;
}

/* 点击频道标签时的效果 */
.channel-item:active {
  background-color: #e0e0e0;
}

.tab-content {
  padding: 20px;
}

.list-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.list-item h3 {
  margin-bottom: 5px;
}

.list-item p {
  color: #888;
}
.channel-item.active {
  color: red; /* 选中标签红色高亮 */
}
.edit-btn {
  background: #f0f0f0;
  border: 1px solid #ddd;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  cursor: pointer;
}

.finish-btn {
  background: #ff4d4f;
  color: white;
  border: none;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  cursor: pointer;
}

.close-icon {
  font-size: 12px;
  background: #f0f0f0;
  padding: 2px 4px;
  border-radius: 50%;
}